html,
body,
div,
h1,
h2,
h3,
h4,
h5,
ul,
li,
ol,
header,
footer {
    margin: 0;
    padding: 0;
}

ul,
li,
ol {
    list-style: none;
}

input, button {
  outline: none;
}

button {
    border: 0;
}

a {
    color: #1b7be6;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    font-family: 'PingFang SC', 'STHeitiSC-Light', 'Helvetica-Light', arial, sans-serif;
    color: #333;
    background: #353535;
}


/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 20px;
    /*custom*/
    float: right;
    margin-top: 4px;
}


/* Hide default HTML checkbox */

.switch input {
    display: none;
}


/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e6e8e5;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #8cd88c;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

.slider.round:before {
    border-radius: 50%;
}

.form-control label {
    display: block;
    font-size: 12px;
    line-height: 15px;
    padding: 10px 0;
}

.form-input {
    display: block;
    width: 100%;
    height: 36px;
    border: 1px solid #eee;
    background: #ededed;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    border-radius: 2px;
    box-sizing: border-box;
    color: #999;
    font-size: 14px;
    text-indent: 10px;
}

.wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: 316px;
    height: auto;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    background: #fff;
}

header {
    width: 100%;
    height: 65px;
    line-height: 65px;
    border-bottom: 1px solid #eee;
    text-align: center;
    flex: 1;
}

.title {
    margin: 0;
}

main {
    flex: 1;
}

.content-info,
.content-switch {
    padding-left: 20px;
    box-sizing: border-box;
}

.content-info {
    display: flex;
    height: 168px;
    border-bottom: 1px solid #eee;
}

.person-info {
    flex: 1;
}

.person-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 118px;
    text-align: center;
}

.avatar {
    display: inline-block;
}

.avatar img {
    display: inline-block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid #eee;
    overflow: hidden;
}

.avatar a {
    display: inline-block;
    flex: 1;
    font-size: 12px;
    color: #999;
}

.content-switch {
    display: flex;
    height: 148px;
    border-bottom: 1px solid #eee;
}

.content-switch h5 {
    padding: 10px 0;
}

.switch-notice {
    flex: 1;
}

.switch-type {
    flex: 1;
}

.switch-list {
    padding-right: 20px;
    box-sizing: border-box;
}

.switch-item {
    text-align: right;
    height: 30px;
    line-height: 30px;
}

.switch-item span {
    float: left;
    font-size: 12px;
    color: #8a8a8a;
    vertical-align: middle;
}

footer {
    flex: 1;
    height: 86px;
    line-height: 32px;
    text-align: center;
}

.reset-default {
    display: block;
    padding-top: 10px;
    font-size: 12px;
}

.btn-save {
    width: 134px;
    height: 28px;
    border-radius: 25px;
    background: #1b7be6;
    color: #fff;
}
